package vip.xiaonuo.supplier.modular.base.brands.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.base.brands.entity.SupplierBrands;
import vip.xiaonuo.supplier.modular.base.brands.param.SupplierBrandsAddParam;
import vip.xiaonuo.supplier.modular.base.brands.param.SupplierBrandsEditParam;
import vip.xiaonuo.supplier.modular.base.brands.param.SupplierBrandsIdParam;
import vip.xiaonuo.supplier.modular.base.brands.param.SupplierBrandsPageParam;

import java.util.List;

/**
 * 品牌信息Service接口
 *
 * @author Mr.wu
 * @date  2025/02/28 21:42
 **/
public interface SupplierBrandsService extends IService<SupplierBrands> {

    /**
     * 获取品牌信息分页
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     */
    Page<SupplierBrands> page(SupplierBrandsPageParam supplierBrandsPageParam);

    /**
     * 添加品牌信息
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     */
    void add(SupplierBrandsAddParam supplierBrandsAddParam);

    /**
     * 编辑品牌信息
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     */
    void edit(SupplierBrandsEditParam supplierBrandsEditParam);

    /**
     * 删除品牌信息
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     */
    void delete(List<SupplierBrandsIdParam> supplierBrandsIdParamList);

    /**
     * 获取品牌信息详情
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     */
    SupplierBrands detail(SupplierBrandsIdParam supplierBrandsIdParam);

    /**
     * 获取品牌信息详情
     *
     * @author Mr.wu
     * @date  2025/02/28 21:42
     **/
    SupplierBrands queryEntity(String id);
}
